home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Comms Spectacular / Comet.3.0.7 folder / Cornell.examples / Sample Scripts / Comet sample scripts
Encoding:
Text File  |  1991-08-03  |  2.3 KB  |  51 lines  |  [ttro/ttxt]

  1. Comet Sample Scripts
  2.  
  3. This folder contains some Comet documents which you may find useful as
  4. models.  
  5.  
  6. The "cuinfo" document uses a Connection macro to automatically log on to
  7. the staff directory via the campus internet.
  8.  
  9. Modem/Sytek examples
  10.  
  11. These documents may need to be reconfigured if your modem is not
  12. configured to run at 9600 baud, with 2 stop bits and no parity bit.
  13.  
  14. You can use these documents with Comet either using a modem at home or
  15. over a direct Sytek connection.  If you are using a modem, first launch
  16. Comet using a "Modem" document for one of the phone lines Cornell offers
  17. to connect to Sytek; the Connection macro will dial the phone (using
  18. Hayes AT-style commands) and wait for a response from Sytek.  
  19.  
  20. If the connection succeeds, you can the use the File menu "Open..."
  21. command to open the "Sytek" document for the host you which to access. 
  22. If you have not already used "Close session" to close the "Modem"
  23. document, a dialog will offer to close it for you, and will then proceed
  24. to call the Sytek port for the host using a Connection macro.
  25.  
  26. If the "Modem" connection fails, you can open another "Modem" document
  27. to try another phone number.  (You should call Cornell's Network
  28. Operating Center at 255-9900 first, however, to report the problem!).
  29.  
  30.  
  31. Library examples
  32.  
  33. The "AutoLib" documents make open a connection to Cornell's NOTIS
  34. system, which offers users a remotely-accessible library card file.  If
  35. you examine the Connection macro, you can see that the first command,
  36. "!CH", prevents updates from appearing on the terminal emulator screen. 
  37. The last command waits for a string to arrive from the host; Comet
  38. automatically appends a "!CS" command to a Connection macro so that the
  39. screen will be updated, but the macro needs to explicitly wait for the
  40. last screen to be sent, since the screen will be updated as soon as the
  41. Connection macro is complete.
  42.  
  43. The "AutoLib-Modem" documents may need to be reconfigured if your
  44. modem is not configured to run at 9600 baud, with 2 stop bits and no
  45. parity bit.
  46.  
  47. The "ALA" document is a document which is used to enter the 
  48. foreign language characters and diacritical marks into the NOTIS system,
  49. and provides a good example of extensive key re-mapping using Key 
  50. macros.  In this case, the keyboard has been remapped to duplicate the
  51. standard keymapping for Yale's TinCan serial terminal emulator.